package com.agent.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("agent_info")
public class AgentInfo {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String agentId;
    private String agentName;
    private String agentType;
    private String description;
    private String capabilities;
    private String endpoint;
    private String status;
    private LocalDateTime heartbeatTime;
    
    @TableLogic
    private Integer deleted;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
